deploy: Use `semodule --refresh` if available
authorColin Walters <walters@verbum.org>
Tue, 1 Nov 2022 20:22:45 +0000 (16:22 -0400)
committerColin Walters <walters@verbum.org>
Tue, 1 Nov 2022 20:23:12 +0000 (16:23 -0400)
commitf0c3d09618edc4950a3f06af4f829525ba6b840f
tree0e6aabbe55464391748e3d3d790cef7b74a2523a
parentba94997e9961b0f3ec99569f1189b69e6c3012ba
deploy: Use `semodule --refresh` if available

Current FCOS emits a warning:

```
[root@cosa-devsh ~]# journalctl -b -1 -u ostree-finalize-staged --grep=deprecated
Nov 01 20:21:21 cosa-devsh ostree[2481]: The --rebuild-if-modules-changed option is deprecated. Use --refresh instead.
[root@cosa-devsh ~]#
```
src/libostree/ostree-sysroot-deploy.c